package comday07.itheima01;

public class Demo01 {

    public static void main(String[] args) {

        //创建对象
        //类名  变量名 = new 类名();
        Phone p = new Phone();

        //给成员变量赋值
        p.size = 6.0;
        p.price = 5999;
        p.brand = "华为";

        //调用方法
        p.call("杨倩");
        p.sendMessage();

    }
}



